package com.isnmp.common.snmp.mib;

import com.isnmp.common.snmp.OMMappingInfo;

/**
 * 
 * <p>
 * Description: 源自RFC1213-MIB
 * </p>
 *
 * @author wangyazhou
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2013-2-20 下午3:44:56          wangyazhou        1.0         To create
 * </p>
 *
 * @since 
 * @see
 */
public class MibUDPEntry extends OMMappingInfo {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private String udpLocalAddress;
    private int udpLocalPort;

    public String toString() {
        return "udpLocalAddress=" + this.udpLocalAddress + "|" + "udpLocalPort=" + this.udpLocalPort + "|";
    }

    public String getMappingOID() {
        return "1.3.6.1.2.1.7.5.1";
    }

    public String getUdpLocalAddress() {
        return this.udpLocalAddress;
    }

    public void setUdpLocalAddress(String paramString) {
        this.udpLocalAddress = paramString;
    }

    public int getUdpLocalPort() {
        return this.udpLocalPort;
    }

    public void setUdpLocalPort(int paramInt) {
        this.udpLocalPort = paramInt;
    }
}